| acos() (Arc Cosine, in Radians) The acos() method is used to return the arc-cosine of its given parameter, number (see syntax). The result returned is a numeric value between the range of 0 and PI, in radians. If the value returned is outside of this range, a value of 0 will be returned. As with all mathematical methods, it is used with a Math object. syntax: Math.acos(number) EXAMPLE document.write("The arc-cosine of 0.6973907898697076 is : " + Math.acos(0.6973907898697076) + ".") The example shows a document.write statement being used to display some descriptive text along with the arc-cosine of the number 0.6973907898697076 (which is the arctangent of the quotient of 62 and 74). The output should look like the following: The arc-cosine of 0.6973907898697076 is : 0.799045944247152. |